package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="produce_statistical_info" )
public class ProduceStatisticalInfo  implements Serializable {
	private static final long serialVersionUID =  5248941876190704534L;

	/**
	 * 产品编号
	 */
   	@Column(name = "produce_num" )
	private String produceNum;

	/**
	 * 生产日期

	 */
   	@Column(name = "produce_date" )
	private Timestamp produceDate;

	/**
	 * 信息id

	 */
	@Id
	private Integer infoId;

	/**
	 * 返工数量
	 */
   	@Column(name = "rework_num" )
	private Long reworkNum;

	/**
	 * 报废数量
	 */
   	@Column(name = "scrap_num" )
	private Long scrapNum;

	/**
	 * 生产数量

	 */
   	@Column(name = "produce_quantity" )
	private Long produceQuantity;

	/**
	 * 合格数量
	 */
   	@Column(name = "qualify_num" )
	private Long qualifyNum;
   	@Column(name = "produce_type")
	private  String produceType;
   	@Column(name="produce_name")
	private String produceName;

	public String getProduceName() {
		return produceName;
	}

	public void setProduceName(String produceName) {
		this.produceName = produceName;
	}

	public String getProduceType() {
		return produceType;
	}

	public void setProduceType(String produceType) {
		this.produceType = produceType;
	}

	public String getProduceNum() {
		return this.produceNum;
	}

	public void setProduceNum(String produceNum) {
		this.produceNum = produceNum;
	}

	public Timestamp getProduceDate() {
		return this.produceDate;
	}

	public void setProduceDate(Timestamp produceDate) {
		this.produceDate = produceDate;
	}

	public Integer getInfoId() {
		return infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public Long getReworkNum() {
		return this.reworkNum;
	}

	public void setReworkNum(Long reworkNum) {
		this.reworkNum = reworkNum;
	}

	public Long getScrapNum() {
		return this.scrapNum;
	}

	public void setScrapNum(Long scrapNum) {
		this.scrapNum = scrapNum;
	}

	public Long getProduceQuantity() {
		return this.produceQuantity;
	}

	public void setProduceQuantity(Long produceQuantity) {
		this.produceQuantity = produceQuantity;
	}

	public Long getQualifyNum() {
		return this.qualifyNum;
	}

	public void setQualifyNum(Long qualifyNum) {
		this.qualifyNum = qualifyNum;
	}

}
